package com.pounds.mapper;

import com.pounds.pojo.Admin;

import java.util.List;

public interface AdminMapper {
    List<Admin> getAdminList();

    void addAdmin(String name, String account, String password, String contact, String note);

    List<Admin> selectAdmin(int id);

    void deleteAdmin(int id);

    void updateAdmin(int id, String name, String account, String password, String contact, String note);

    String findAdminPassword(String account, String password);
}
